package com.atom.app;

import android.app.Application;

import com.atom.annotation.ApiImpl;
import com.atom.core.ApiImplRouter;
import com.atom.module.logger.Logger;
import com.atom.module.reporter.CrashReporter;

@ApiImpl(api = MainApplication.class)
public class MainApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        Logger.init(true, false, "");
        ApiImplRouter.setDebug(true);
        CrashReporter.initialize(this);
        CrashReporter.setRestartActivity(MainActivity.class);
    }
}
